package com.ruoyi.workflow.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 待办审批历史对象 HistoryTaskResponse
 * 
 * @author yuanpingfang
 * @date 2021-04-09
 */
public class HistoryTaskResponse extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /**
     * msg : 操作成功
     * code : 200
     * data : [{"assigneeName":"张三","taskComment":"请审核","taskMessage":"同意","name":"资料员","assignee":"13","endTime":"2021-04-09T06:31:19.806+0000","approveTime":3788589,"taskStatus":"agree"},{"assigneeName":"李四","taskComment":"我也同意把","taskMessage":"同意","name":"主管审核","assignee":"14","endTime":"2021-04-09T08:25:53.353+0000","approveTime":6873545,"taskStatus":"agree"},{"assigneeName":"王五","taskComment":"重新发起","taskMessage":"不同意","name":"财务审核","assignee":"15","endTime":null,"approveTime":null,"taskStatus":"reject"}]
     */

    private String msg;
    private int code;
    /**
     * assigneeName : 张三
     * taskComment : 请审核
     * taskMessage : 同意
     * name : 资料员
     * assignee : 13
     * endTime : 2021-04-09T06:31:19.806+0000
     * approveTime : 3788589
     * taskStatus : agree
     */

    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String assigneeName;
        private String taskComment;
        private String taskMessage;
        private String name;
        private String assignee;
        private String endTime;
        private int approveTime;
        private String taskStatus;

        public String getAssigneeName() {
            return assigneeName;
        }

        public void setAssigneeName(String assigneeName) {
            this.assigneeName = assigneeName;
        }

        public String getTaskComment() {
            return taskComment;
        }

        public void setTaskComment(String taskComment) {
            this.taskComment = taskComment;
        }

        public String getTaskMessage() {
            return taskMessage;
        }

        public void setTaskMessage(String taskMessage) {
            this.taskMessage = taskMessage;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAssignee() {
            return assignee;
        }

        public void setAssignee(String assignee) {
            this.assignee = assignee;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getApproveTime() {
            return approveTime;
        }

        public void setApproveTime(int approveTime) {
            this.approveTime = approveTime;
        }

        public String getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(String taskStatus) {
            this.taskStatus = taskStatus;
        }
    }
}
